package com.example.demo.Service;

import com.example.demo.Bean.Manager;
import com.example.demo.Mapper.ManagerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("managerService")
public class ManagerService {
    @Autowired
    ManagerMapper managerMapper;

    public String selectManager(String peopleID){
        Manager manager = managerMapper.selectManager(peopleID);
        return manager.getCode();
    }
}
